[INFO] cloning repository https://github.com/Thomspoon/opengl_sdl2_demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Thomspoon/opengl_sdl2_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomspoon%2Fopengl_sdl2_demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomspoon%2Fopengl_sdl2_demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 22c4716b969d07296945fc8a277d0c479d75901b
[INFO] checking Thomspoon/opengl_sdl2_demo against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomspoon%2Fopengl_sdl2_demo" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Thomspoon/opengl_sdl2_demo on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Thomspoon/opengl_sdl2_demo
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/Thomspoon/opengl_sdl2_demo
[INFO] tweaked toml for git repo https://github.com/Thomspoon/opengl_sdl2_demo written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Thomspoon/opengl_sdl2_demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gl_generator v0.5.2
[INFO] [stderr]   Downloaded gif v0.9.1
[INFO] [stderr]   Downloaded num-rational v0.1.36
[INFO] [stderr]   Downloaded gl v0.6.1
[INFO] [stderr]   Downloaded deque v0.3.2
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.12
[INFO] [stderr]   Downloaded rayon-core v1.0.0
[INFO] [stderr]   Downloaded rayon v0.7.0
[INFO] [stderr]   Downloaded khronos_api v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e6c28fd22560eb7f6ef93918a3cd8236a04e2fa182e39a07c0220b35b599e413
[INFO] running `Command { std: "docker" "start" "-a" "e6c28fd22560eb7f6ef93918a3cd8236a04e2fa182e39a07c0220b35b599e413", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6c28fd22560eb7f6ef93918a3cd8236a04e2fa182e39a07c0220b35b599e413", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6c28fd22560eb7f6ef93918a3cd8236a04e2fa182e39a07c0220b35b599e413", kill_on_drop: false }`
[INFO] [stdout] e6c28fd22560eb7f6ef93918a3cd8236a04e2fa182e39a07c0220b35b599e413
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c92485a4cbbcc2ce271b4926b4deaf92a161c19652ccbc31eb2369d5dce8b5d9
[INFO] running `Command { std: "docker" "start" "-a" "c92485a4cbbcc2ce271b4926b4deaf92a161c19652ccbc31eb2369d5dce8b5d9", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.22
[INFO] [stderr]     Checking num-traits v0.1.37
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling khronos_api v1.0.0
[INFO] [stderr]    Compiling log v0.3.7
[INFO] [stderr]     Checking lazy_static v0.2.8
[INFO] [stderr]    Compiling rayon-core v1.0.0
[INFO] [stderr]     Checking byteorder v1.0.0
[INFO] [stderr]     Checking deque v0.3.2
[INFO] [stderr]     Checking adler32 v1.0.0
[INFO] [stderr]    Compiling sdl2-sys v0.30.0
[INFO] [stderr]     Checking color_quant v1.0.0
[INFO] [stderr]     Checking inflate v0.2.0
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]    Compiling xml-rs v0.3.6
[INFO] [stderr]     Checking scoped_threadpool v0.1.7
[INFO] [stderr]     Checking deflate v0.7.11
[INFO] [stderr]     Checking gif v0.9.1
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]     Checking num_cpus v1.4.0
[INFO] [stderr]     Checking num-integer v0.1.34
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking num-iter v0.1.33
[INFO] [stderr]     Checking num-rational v0.1.36
[INFO] [stderr]     Checking num v0.1.37
[INFO] [stderr]    Compiling gl_generator v0.5.2
[INFO] [stderr]     Checking sdl2 v0.30.0
[INFO] [stderr]     Checking cgmath v0.14.1
[INFO] [stderr]     Checking png v0.7.0
[INFO] [stderr]     Checking rayon v0.7.0
[INFO] [stderr]    Compiling gl v0.6.1
[INFO] [stderr]    Compiling opengl_sdl2_demo v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking jpeg-decoder v0.1.12
[INFO] [stderr]     Checking image v0.13.0
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/shaders/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/shaders/triangle_exercise_3.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/examples/shaders/triangle_exercise_3.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]    |                         ^                                                             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 78 -                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 78 +                         (VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/camera/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/hello_triangle/two_triangles.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/hello_triangle/rectangle.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/two_triangles.rs:162:25
[INFO] [stdout]     |
[INFO] [stdout] 162 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 162 +                         (VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/rectangle.rs:168:25
[INFO] [stdout]     |
[INFO] [stdout] 168 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 168 +                         (VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/rectangle.rs:175:24
[INFO] [stdout]     |
[INFO] [stdout] 175 |                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                        ^                                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 175 -                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 175 +                        (INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/camera/camera_view.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:145:25
[INFO] [stdout]     |
[INFO] [stdout] 145 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 145 -                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 145 +                         (VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timer` in this scope
[INFO] [stdout]    --> src/examples/coordinate_systems/mvm_more_cubes.rs:223:26
[INFO] [stdout]     |
[INFO] [stdout] 223 |             let ticks = (timer.ticks() as f32) / 1000.0;
[INFO] [stdout]     |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/shaders/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/transformations/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/textures/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/camera/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/hello_triangle/two_triangles_with_shaders.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/hello_triangle/two_triangles_and_vbo.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/coordinate_systems/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/two_triangles_with_shaders.rs:190:25
[INFO] [stdout]     |
[INFO] [stdout] 190 |                         ((VERTEX_DATA_1.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 190 -                         ((VERTEX_DATA_1.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 190 +                         (VERTEX_DATA_1.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/two_triangles_with_shaders.rs:204:25
[INFO] [stdout]     |
[INFO] [stdout] 204 |                         ((VERTEX_DATA_2.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 204 -                         ((VERTEX_DATA_2.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 204 +                         (VERTEX_DATA_2.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/two_triangles_and_vbo.rs:164:25
[INFO] [stdout]     |
[INFO] [stdout] 164 |                         ((VERTEX_DATA_1.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 164 -                         ((VERTEX_DATA_1.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 164 +                         (VERTEX_DATA_1.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/hello_triangle/two_triangles_and_vbo.rs:178:25
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         ((VERTEX_DATA_2.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 178 -                         ((VERTEX_DATA_2.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 178 +                         (VERTEX_DATA_2.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/shaders/triangle_vertex_colors.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/examples/shaders/triangle_vertex_colors.rs:77:25
[INFO] [stdout]    |
[INFO] [stdout] 77 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]    |                         ^                                                             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 77 -                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 77 +                         (VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/transformations/transformation.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/transformations/transformation.rs:101:25
[INFO] [stdout]     |
[INFO] [stdout] 101 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 101 -                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 101 +                         (VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/transformations/transformation.rs:108:24
[INFO] [stdout]     |
[INFO] [stdout] 108 |                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                        ^                                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 108 +                        (INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/textures/rectangle_texture.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/examples/coordinate_systems/../../shader/mod.rs:24:92
[INFO] [stdout]    |
[INFO] [stdout] 24 |         buf_reader.read_to_string(&mut vertex_shader).expect("Could not read vertex path");;
[INFO] [stdout]    |                                                                                            ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/examples/textures/rectangle_texture.rs:96:25
[INFO] [stdout]    |
[INFO] [stdout] 96 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]    |                         ^                                                             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 96 +                         (VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/textures/rectangle_texture.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 |                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                        ^                                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 103 -                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 103 +                        (INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/camera/camera_class.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:153:25
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 153 -                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 153 +                         (VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/shaders/uniform.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/shaders/uniform.rs:162:25
[INFO] [stdout]     |
[INFO] [stdout] 162 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 162 +                         (VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/coordinate_systems/model_view_matrix.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:138:25
[INFO] [stdout]     |
[INFO] [stdout] 138 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 138 -                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 138 +                         (VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:145:24
[INFO] [stdout]     |
[INFO] [stdout] 145 |                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                        ^                                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 145 -                        ((INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 145 +                        (INDICES_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]   --> src/examples/coordinate_systems/mvm_more_cubes.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use sdl2::video::GLProfile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/examples/coordinate_systems/mvm_more_cubes.rs:143:25
[INFO] [stdout]     |
[INFO] [stdout] 143 |                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout]     |                         ^                                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 143 -                         ((VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr),
[INFO] [stdout] 143 +                         (VERTEX_DATA.len() * mem::size_of::<GLfloat>()) as GLsizeiptr,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/opengl_sdl2_demo-0384130b267f2395/out/bindings.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 |         fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void,
[INFO] [stdout]   |                       ----^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `opengl_sdl2_demo` (example "mvm_more_cubes") due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: method `program` is never used
[INFO] [stdout]   --> src/examples/shaders/../../shader/mod.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Shader {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn program(self) -> GLuint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `camera_up`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 |     let camera_up = camera_dir.cross(camera_right);
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_up`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:213:105
[INFO] [stdout]     |
[INFO] [stdout] 213 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture1").unwrap().as_ptr()), 0);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:217:105
[INFO] [stdout]     |
[INFO] [stdout] 217 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture2").unwrap().as_ptr()), 1);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:231:101
[INFO] [stdout]     |
[INFO] [stdout] 231 |             let model_loc = gl::GetUniformLocation(shader.program(), CString::new("model").unwrap().as_ptr());
[INFO] [stdout]     |                                                                      ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                      |
[INFO] [stdout]     |                                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:234:99
[INFO] [stdout]     |
[INFO] [stdout] 234 |             let view_loc = gl::GetUniformLocation(shader.program(), CString::new("view").unwrap().as_ptr());
[INFO] [stdout]     |                                                                     ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_view.rs:237:111
[INFO] [stdout]     |
[INFO] [stdout] 237 |             let projection_loc = gl::GetUniformLocation(shader.program(), CString::new("projection").unwrap().as_ptr());
[INFO] [stdout]     |                                                                           ----------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:217:105
[INFO] [stdout]     |
[INFO] [stdout] 217 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture1").unwrap().as_ptr()), 0);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:221:105
[INFO] [stdout]     |
[INFO] [stdout] 221 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture2").unwrap().as_ptr()), 1);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:231:101
[INFO] [stdout]     |
[INFO] [stdout] 231 |             let model_loc = gl::GetUniformLocation(shader.program(), CString::new("model").unwrap().as_ptr());
[INFO] [stdout]     |                                                                      ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                      |
[INFO] [stdout]     |                                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:234:99
[INFO] [stdout]     |
[INFO] [stdout] 234 |             let view_loc = gl::GetUniformLocation(shader.program(), CString::new("view").unwrap().as_ptr());
[INFO] [stdout]     |                                                                     ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/coordinate_systems/model_view_matrix.rs:237:111
[INFO] [stdout]     |
[INFO] [stdout] 237 |             let projection_loc = gl::GetUniformLocation(shader.program(), CString::new("projection").unwrap().as_ptr());
[INFO] [stdout]     |                                                                           ----------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `delta_tick` is never read
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:207:13
[INFO] [stdout]     |
[INFO] [stdout] 207 |     let mut delta_tick: f32 = 0.0;
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `program` is never used
[INFO] [stdout]   --> src/examples/shaders/../../shader/mod.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Shader {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn program(self) -> GLuint {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_YAW` is never used
[INFO] [stdout]  --> src/examples/camera/../../camera/mod.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const DEFAULT_YAW: f32 = -90.0;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_PITCH` is never used
[INFO] [stdout]  --> src/examples/camera/../../camera/mod.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const DEFAULT_PITCH: f32 = 0.0;
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZOOM_LOW` is never used
[INFO] [stdout]   --> src/examples/camera/../../camera/mod.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const ZOOM_LOW: f32 = 1.0;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZOOM_HIGH` is never used
[INFO] [stdout]   --> src/examples/camera/../../camera/mod.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const ZOOM_HIGH: f32 = 45.0;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `move_zoom` is never used
[INFO] [stdout]   --> src/examples/camera/../../camera/mod.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Camera {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn move_zoom(mut self, zoom: f32) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/transformations/transformation.rs:184:105
[INFO] [stdout]     |
[INFO] [stdout] 184 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture1").unwrap().as_ptr()), 0);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/transformations/transformation.rs:188:105
[INFO] [stdout]     |
[INFO] [stdout] 188 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture2").unwrap().as_ptr()), 1);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/transformations/transformation.rs:193:109
[INFO] [stdout]     |
[INFO] [stdout] 193 |             let transform_loc = gl::GetUniformLocation(shader.program(), CString::new("transform").unwrap().as_ptr());
[INFO] [stdout]     |                                                                          ---------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                          |
[INFO] [stdout]     |                                                                          this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:218:105
[INFO] [stdout]     |
[INFO] [stdout] 218 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture1").unwrap().as_ptr()), 0);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:222:105
[INFO] [stdout]     |
[INFO] [stdout] 222 |             gl::Uniform1i(gl::GetUniformLocation(shader.program(), CString::new("ourTexture2").unwrap().as_ptr()), 1);
[INFO] [stdout]     |                                                                    ------------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                    |
[INFO] [stdout]     |                                                                    this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:234:101
[INFO] [stdout]     |
[INFO] [stdout] 234 |             let model_loc = gl::GetUniformLocation(shader.program(), CString::new("model").unwrap().as_ptr());
[INFO] [stdout]     |                                                                      ------------------------------ ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                      |
[INFO] [stdout]     |                                                                      this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:237:99
[INFO] [stdout]     |
[INFO] [stdout] 237 |             let view_loc = gl::GetUniformLocation(shader.program(), CString::new("view").unwrap().as_ptr());
[INFO] [stdout]     |                                                                     ----------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/examples/camera/camera_class.rs:240:111
[INFO] [stdout]     |
[INFO] [stdout] 240 |             let projection_loc = gl::GetUniformLocation(shader.program(), CString::new("projection").unwrap().as_ptr());
[INFO] [stdout]     |                                                                           ----------------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c92485a4cbbcc2ce271b4926b4deaf92a161c19652ccbc31eb2369d5dce8b5d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c92485a4cbbcc2ce271b4926b4deaf92a161c19652ccbc31eb2369d5dce8b5d9", kill_on_drop: false }`
[INFO] [stdout] c92485a4cbbcc2ce271b4926b4deaf92a161c19652ccbc31eb2369d5dce8b5d9
